import Layout from '@/layout'

const modelRouter = {
  path: '/model',
  component: Layout,
  name: 'Model',
  meta: { title: '生产模板管理', icon: 'tree' },
  children: [
    {
      path: 'add',
      name: 'Tree',
      component: () => import('@/views/model/add'),
      meta: { title: '模板添加', icon: 'tree' }
    },
    {
      path: 'search',
      name: 'Tree',
      component: () => import('@/views/model/search'),
      meta: { title: '模板查询', icon: 'tree' }
    },
    {
      path: 'electronics',
      name: 'Tree',
      component: () => import('@/views/model/electronics'),
      meta: { title: '模板元器件', icon: 'tree' }
    }
  ]
}

export default modelRouter
